package com.example.flowableoa.factory;

import lombok.Data;
import org.flowable.engine.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Description:
 * @Author:李博文
 * @Date:2022/10/31 14:35
 *
 * 常用的流程service
 *
 */
@Component
@Data
public class FlowServiceFactory {

    @Resource
    protected ProcessEngine processEngine;
    @Autowired
    protected RepositoryService  repositoryService;
    @Autowired
    protected RuntimeService runtimeService;
    @Autowired
    protected TaskService taskService;
    @Autowired
    protected IdentityService identityService;
    @Autowired
    protected ManagementService managementService;

    @Autowired
    protected HistoryService historyService;

}
